package com.girls.dao;

import com.girls.model.Teacher;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TeacherDao {
    public Teacher getTeacherByID(Integer id);
    public List<Teacher> getTeachersByCondition(Teacher teacher);
    public List<Teacher> getTeachersByIDRange(@Param("ids") List<Integer> ids);
    public List<Teacher> getTeachersByConditionChoose(Teacher teacher);
    //set 进行动态更新
    public int updateTeacher(Teacher teacher);
}
